{layout name="layout" /}
<table class="table">
    <colgroup>
        <col class="w40" />
        <col />
        <col/>
        <col class="w140"/>
        <col class="w140" />
        <col class="w80" />
        <col class="w100" />
        <col class="w100" />
        <col class="w80" />
        <col class="w60" />
        <col class="w120" />
    </colgroup>
    <thead>
        <tr>
            <th class="fn-tac">#</th>
            <th>考场名称</th>
            <th>题库</th>
            <th>开考时间</th>
            <th>结束时间</th>
            <th class="fn-tac">限考(次)</th>
            <th class="fn-tar">限时>=(分)</th>
            <th class="fn-tar">限时<=(分)</th>
            <th class="fn-tac">题目(题)</th>
            <th class="fn-tac">分/题</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
{volist name="lists" id="vo"}
    <tr>
        <td class="fn-tac">{$vo.id}</td>
        <td>{$vo['name']}</td>
        <td>{$vo['category']}</td>
        <td>{$vo.start_time|date="Y-m-d H:i:s",###}</td>
        <td>{$vo.end_time|date="Y-m-d H:i:s",###}</td>
        <td class="fn-tac">{$vo.is_repeat}</td>
        <td class="fn-tar"><?php echo $vo['start_lock_time']/60;?>分</td>
        <td class="fn-tar"><?php echo $vo['lock_time']/60;?>分</td>
        <td class="fn-tac">{$vo.question_number} 题</td>
        <td class="fn-tac">{$vo.one_point} 分</td>
        <td>
            <a class="a-button a-blue" href="{:url('plus_exam/school/edit',['id'=>$vo.id])}"><i class="iconfont icon-edit"></i> {$Think.lang.lang_ui_edit}</a>
            <a class="a-button isDel" url="{:url('plus_exam/school/delete',['id'=>$vo.id])}" href="javascript:;" data-rules="delete"><i class="iconfont icon-lajixiang"></i> {$Think.lang.lang_ui_delete}</a>
        </td>
    </tr>
{/volist}
</tbody>
</table>
<div class="page">{$page}</div>
<script type="text/javascript">
Do('base','layer',function(){
    $('.isDel').isDel();
})
</script>